﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;

namespace DTO
{
    public class SachDTO
    {
        private int sachID = -1;

        public int SachID
        {
            get { return sachID; }
            set { sachID = value; }
        }

        private string maSach;

        public string MaSach
        {
            get { return maSach; }
            set { maSach = value; }
        }

        private string tenSach;

        public string TenSach
        {
            get { return tenSach; }
            set { tenSach = value; }
        }

        private long soLuongTon;

        public long SoLuongTon
        {
            get { return soLuongTon; }
            set { soLuongTon = value; }
        }

        // The loai sach ma cuon sach do thuoc ve
        private TheLoaiDTO theloai = new TheLoaiDTO();

        public TheLoaiDTO TheLoai
        {
            get { return theloai; }
            set { theloai = value; }
        } // ket thuc property TheLoai

        // Tac gia ma cuon sach do thuoc ve
        private TacGiaDTO tacgia = new TacGiaDTO();

        public TacGiaDTO TacGia
        {
            get { return tacgia; }
            set { tacgia = value;  }
        } // ket thuc property TacGia

        private long giaBan;

        public long GiaBan
        {
            get { return giaBan; }
            set { giaBan = value; }
        }
    }
}
